<?php/* * index.action.php     Zhuayi 首页 * * @copyright    (C) 2005 - 2010  zhuayi * @licenes      http://www.zhuayi.net * @lastmodify   2010-10-28 * @author       zhuayi * @QQ			 2179942 */class help_action extends zhuayi{	/* 构造函数 */	function __construct()	{		$this->db = parent::db();		$this->abcd = rand(1,10);	}		/* 首页 */	function index()	{		$reset = $this->db->fetch_row(array('account'=>array('gid','*'),'account_group'=>array('id','group_name')),'30',0);		$this->test($reset);		//$this->test($this->zhuayi);		//$cache = new cache(3600,array('file'=>__METHOD__));		//sleep(2);		echo $this->abcd.'<br>';		//$this->cache(5);		echo '<br>';		$function  = rand(1,199);				require parent::load_tpl('help_index');				//$this->cache(10);	}		function hread($a,$b)	{		$function = $a;		echo '<pre>';		$this->cache(3600,$b,array('abcd'=>$function));		echo $this->abcd;		require parent::load_tpl('help_hread');			}} ?>